package com.hmy.finance.api.bo.core.request.receiptOffset;


import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class ContractApportionRequest implements Serializable {

    /**
     * 合同id
     */
    @NotNull(message = "合同id不能为空")
    private Long contractId;

    /**
     * 合同no
     */
    @NotNull(message = "合同no不能为空")
    private String contractNo;

    /**
     * 合同总欠款金额
     */
    @NotNull(message = "合同总欠款金额不能为空")
    private BigDecimal contractTotalArrearsAmount;

    /**
     * 合同应核销金额
     */
    @NotNull(message = "合同应核销金额不能为空")
    private BigDecimal contractRequireOffsetAmount;

    /**
     * 合同实际核销金额
     */
    @NotNull(message = "合同实际核销金额不能为空")
    private BigDecimal contractActualOffsetAmount;

    /**
     * 客户核销后总欠款金额
     */
    @NotNull(message = "客户核销后总欠款金额不能为空")
    private BigDecimal contractArrearsAmountAfterOffset;

    /**
     * 系统建议核销金额
     */
    @NotNull(message = "系统建议核销金额不能为空")
    private BigDecimal contractSuggestOffsetAmount;


}
